Enter a number into the sheet, for example, 1234.5678. This number will be displayed in the default number format, with two decimal places. You will see 1234.57 when you confirm the entry. Only the display in the document will be rounded off; internally, the number retains all four decimal places after the decimal point.
シートに 1234.5678 と入力してみてください。するとこの数には、小数点以下2桁に定義されている数の標準書式が適用され、入力確定後には 1234.57 と表示されます。 表示は、四捨五入された小数点以下2桁の数値になっていますが、プログラム内には小数点以下4桁の数値がそのまま残ります。
To format numbers with decimals:
小数点の数字を書式設定するには、次のようにします:
Set the cursor at the number and choose Format - Cells to start the Format Cells dialog.
その数値にカーソルを置き、メニュー 書式 → セル を選択してダイアログ セルの属性 を呼び出します。
On the Numbers tab you will see a selection of predefined number formats. In the bottom right in the dialog you will see a preview of how your current number would look if you were to give it a particular format.
見出し 数 に、既定の数の書式が用意されています。ダイアログの右下にあるプレビュー画面で、選択した書式で数がどのように表示されるかが確認できます。
|
|
If you only want to modify the number of the decimal places displayed, the easiest method is to use the Number Format: Add Decimal Place or Number Format: Delete Decimal Place icons on the Formatting Bar.
|